package com.admins;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author mis_wu
 * @date 2021/11/28 17:57
 */
@SpringBootApplication
/**
 * 服务发现的客户端 可写可不写
 */
@EnableDiscoveryClient
/**
 * 开启定时任务
 * @EnableScheduling
 */
@Slf4j
public class AdminAdminsApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminAdminsApplication.class,args);
        log.info("admins启动成功!!!");
    }
}
